﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Microsoft.ManagementConsole.SnapIns.Controls
{
    public partial class PlanckTimeNewTaskControl : UserControl
    {
        private ManagementConsole.Controls.PlanckTimeNode planckTimeNode;

        public PlanckTimeNewTaskControl()
        {
            InitializeComponent();
            this.Dock = DockStyle.Fill;
        }

        public PlanckTimeNewTaskControl(ManagementConsole.Controls.PlanckTimeNode planckTimeNode)
        {
            InitializeComponent();
            this.planckTimeNode = planckTimeNode;
            if (planckTimeNode != null)
            {
                lblParentValue.Text = planckTimeNode.DisplayName;
            }
        }
    }
}
